package de.ff7rl.core.map;

import java.util.ArrayList;
import java.util.List;

public class DungeonMapLine {

  private final List<Tile> tiles = new ArrayList<Tile>();

  public DungeonMapLine() {
  }

  public DungeonMapLine(final int theLength, final Tile theTemplate) {
    for (int i = 0; i < theLength; i++) {
      tiles.add(new Tile(theTemplate));
    }
  }

  public List<Tile> getTiles() {
    return tiles;
  }

  public int size() {
    return tiles.size();
  }

}
